package com.zzyl.mapper;

import com.zzyl.entity.NursingPlan;
import com.zzyl.entity.NursingProjectPlan;
import com.zzyl.queryparam.NursingPlanQueryParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanMapper {


    public abstract List<NursingPlan> getPage(NursingPlanQueryParam npqp);

    public abstract void addNursingPlan(NursingPlan np);

    public abstract NursingPlan getByIdNursingPlan(Long id);

    public abstract void updateNursingPlan(NursingPlan nursingPlan);

    public abstract void statusNursingPlan(Integer id, Integer status);

    public abstract void deleteNursingPlan(Integer id);

    public abstract List<NursingPlan> allList();

    public abstract List<NursingProjectPlan> getCount(Long npId);
}
